{extend name="common/base" /}
{block name="main"}
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 15px;">
    <legend>添加用户</legend>
</fieldset>
<form class="layui-form" action="{:url('insert')}" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名称</label>
        <div class="layui-input-inline">
            <input type="text" name="user_name" id="user_name" autocomplete="off" class="layui-input" placeholder="请输入用户名称">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{load href="/static/js/jquery-1.10.2.min.js"/}

{/block}
